include $(GNUSTEP_MAKEFILES)/common.make

FRAMEWORK_NAME = Foundation

Foundation_OBJCFLAGS = -IHeaders -I../ -DLINUX -fcocotron-runtime -fblocks

Foundation_LDFLAGS+=-Wl,--no-undefined -L$(ROOT)/objc/obj -lobjc -lm -lpthread -ldl -lringo -L../ringo/obj 

Foundation_HEADER_FILES_DIR = Headers/Foundation

Foundation_HEADER_FILES= \
bitmapRepresentation.h \
CFSSLHandler.h \
CFUID.h \
FoundationErrors.h \
Foundation.h \
NSAffineTransform.h \
NSArchiver.h \
NSArray.h \
NSAssertionHandler.h \
NSAtomicCompareAndSwap.h \
NSAttributedString.h \
NSAutoreleasePool.h \
NSAutoreleasePool-private.h \
NSBundle.h \
NSByteOrder.h \
NSCachedURLResponse.h \
NSCalendarDate.h \
NSCalendar.h \
NSCFTypeID.h \
NSCharacterSet.h \
NSClassDescription.h \
NSCoder.h \
NSComparisonPredicate.h \
NSCompoundPredicate.h \
NSConcreteDirectoryEnumerator.h \
NSConditionLock.h \
NSConnection.h \
NSCountedSet.h \
NSData.h \
NSDateComponents.h \
NSDateFormatter.h \
NSDate.h \
NSDebug.h \
NSDecimal.h \
NSDecimalNumber.h \
NSDelayedPerform.h \
NSDictionary.h \
NSDirectoryEnumerator.h \
NSDistantObject.h \
NSDistributedLock.h \
NSDistributedNotificationCenter.h \
NSEnumerator.h \
NSError.h \
NSException.h \
NSExpression.h \
NSFileHandle.h \
NSFileManager.h \
NSFormatter.h \
NSGarbageCollector.h \
NSGeometry.h \
NSHashTable.h \
NSHost.h \
NSHTTPCookie.h \
NSHTTPCookieStorage.h \
NSHTTPURLResponse.h \
NSIndexPath.h \
NSIndexSet.h \
NSInlineSetTable.h \
NSInputSource.h \
NSInputSourceSet.h \
NSInputStream.h \
NSInvocation.h \
NSKeyedArchiver.h \
NSKeyedUnarchiver.h \
NSKeyValueCoding.h \
NSKeyValueObserving.h \
NSLocale.h \
NSLocale+windows.h \
NSLock.h \
NSMapTable.h \
NSMessagePort.h \
NSMessagePortNameServer.h \
NSMetadataItem.h \
NSMetadataQueryAttributeValueTuple.h \
NSMetadataQuery.h \
NSMetadataQueryResultGroup.h \
NSMethodSignature.h \
NSMutableArray.h \
NSMutableAttributedString.h \
NSMutableCharacterSet.h \
NSMutableData.h \
NSMutableDictionary.h \
NSMutableIndexSet.h \
NSMutableSet.h \
NSMutableString.h \
NSMutableURLRequest.h \
NSNetServices.h \
NSNotificationAndModes.h \
NSNotificationCenter.h \
NSNotification.h \
NSNotificationObserver.h \
NSNotificationQueue.h \
NSNotificationQueue-Private.h \
NSNull.h \
NSNumberFormatter.h \
NSNumber.h \
NSObjCRuntime.h \
NSObject.h \
NSObjectToObservers.h \
NSOperation.h \
NSOperationQueue.h \
NSOrderedPerform.h \
NSOutputStream.h \
NSPathUtilities.h \
NSPersistantDomain.h \
NSPipe.h \
NSPlatform.h \
NSPointerArray.h \
NSPointerFunctions.h \
NSPortCoder.h \
NSPort.h \
NSPortMessage.h \
NSPortNameServer.h \
NSPredicate.h \
NSProcessInfo.h \
NSPropertyList.h \
NSPropertyListReader.h \
NSProtocolChecker.h \
NSProxy.h \
NSRaiseException.h \
NSRaise.h \
NSRange.h \
NSRecursiveLock.h \
NSRunLoop.h \
NSRunLoop-InputSource.h \
NSRunLoopState.h \
NSScanner.h \
NSSelectInputSource.h \
NSSelectInputSourceSet.h \
NSSelectSet.h \
NSSet.h \
NSSocket.h \
NSSocketPort.h \
NSSocketPortNameServer.h \
NSSortDescriptor.h \
NSSpellServer.h \
NSStream.h \
NSStringFileIO.h \
NSStringFormatter.h \
NSString.h \
NSStringHashing.h \
NSStringsFileParser.h \
NSStringSymbol.h \
NSStringUTF8.h \
NSSynchronization.h \
NSTask.h \
NSThread.h \
NSThread-Private.h \
NSTimer.h \
NSTimeZone.h \
NSTimeZoneTransition.h \
NSTimeZoneType.h \
NSUnarchiver.h \
NSUndoGroup.h \
NSUndoManager.h \
NSUnicodeCaseMapping.h \
NSURLAuthenticationChallenge.h \
NSURLCache.h \
NSURLConnection.h \
NSURLCredential.h \
NSURLCredentialStorage.h \
NSURLDownload.h \
NSURLError.h \
NSURL.h \
NSURLHandle.h \
NSURLProtectionSpace.h \
NSURLProtocol.h \
NSURLRequest.h \
NSURLResponse.h \
NSUserDefaults.h \
NSValue.h \
NSValueTransformer.h \
NSXMLDocument.h \
NSXMLDTD.h \
NSXMLDTDNode.h \
NSXMLElement.h \
NSXMLNode.h \
NSXMLNodeOptions.h \
NSXMLParser.h \
NSZombieObject.h \
NSZone.h


Foundation_OBJC_FILES = \
  NSDecimal/NSDecimalNumberPlaceholder.m \
  NSDecimal/NSDecimal.m \
  NSDecimal/NSDecimalNumber.m \
  NSConcreteDirectoryEnumerator.m \
  NSHTTPCookie/NSHTTPCookie.m \
  NSHTTPCookie/NSHTTPCookieStorage.m \
  NSDistributedNotificationCenter.m \
  NSHost.m \
  NSThread/NSThread.m \
  NSPlatform.m \
  NSRunLoop/NSInputSource.m \
  NSRunLoop/NSDelayedPerform.m \
  NSRunLoop/NSInputSourceSet.m \
  NSRunLoop/NSRunLoopState.m \
  NSRunLoop/NSRunLoop.m \
  NSRunLoop/NSOrderedPerform.m \
  NSRange.m \
  NSObjCRuntime.m \
  NSSpellServer.m \
  NSLocale.m \
  NSNull.m \
  NSPredicate/NSPredicate.m \
  NSPredicate/NSComparisonPredicate.m \
  NSPredicate/NSCompoundPredicate.m \
  NSPredicate/NSExpression_constant.m \
  NSPredicate/NSExpression_operator.m \
  NSPredicate/NSExpression_variable.m \
  NSPredicate/NSPredicate_BOOL.m \
  NSPredicate/NSExpression_array.m \
  NSPredicate/NSExpression_assignment.m \
  NSPredicate/NSExpression_function.m \
  NSPredicate/NSExpression_keypath.m \
  NSPredicate/NSExpression_self.m \
  NSPredicate/NSExpression.m \
  platform_linux/libmain.m \
  platform_linux/NSMemoryFunctions_linux.m \
  platform_linux/NSPlatform_linux.m \
  platform_linux/NSTask_linux.m \
  NSEnumerator.m \
  NSInvocation.m \
  NSUnarchiver.m \
  NSTimer/NSTimer.m \
  NSTimer/NSTimer_concrete.m \
  NSTimer/NSTimer_targetAction.m \
  NSTimer/NSTimer_invocation.m \
  NSCharacterSet/NSMutableCharacterSet_bitmap.m \
  NSCharacterSet/NSCharacterSet.m \
  NSCharacterSet/NSCharacterSet_string.m \
  NSCharacterSet/NSMutableCharacterSet.m \
  NSCharacterSet/NSCharacterSet_range.m \
  NSCharacterSet/NSCharacterSet_bitmap.m \
  NSCharacterSet/NSCharacterSet_rangeInverted.m \
  NSStream/NSOutputStream_data.m \
  NSStream/NSInputStream_file.m \
  NSStream/NSInputStream.m \
  NSStream/NSOutputStream.m \
  NSStream/NSSelectInputSource.m \
  NSStream/NSSelectSet.m \
  NSStream/NSOutputStream_file.m \
  NSStream/NSSelectInputSourceSet.m \
  NSStream/NSFileHandle_stream.m \
  NSStream/NSFileHandle.m \
  NSStream/NSOutputStream_buffer.m \
  NSStream/NSInputStream_data.m \
  NSStream/NSInputStream_socket.m \
  NSStream/NSOutputStream_socket.m \
  NSStream/NSStream.m \
  NSStream/CFSSLHandler.m \
  NSStream/NSSocket.m \
  NSKeyedArchiving/NSKeyedUnarchiver.m \
  NSKeyedArchiving/NSKeyedArchiver.m \
  NSNumberFormatter.m \
  NSScanner/NSScanner_concrete.m \
  NSScanner/NSScanner.m \
  NSZone/NSZone.m \
  NSZone/NSVirtualMemory.m \
  NSArchiver.m \
  NSString/NSString_unicode.m \
  NSString/NSStringFormatter.m \
  NSString/NSString_placeholder.m \
  NSString/NSMutableString_unicodePtr.m \
  NSString/NSStringFileIO.m \
  NSString/NSPathUtilities.m \
  NSString/NSConstantString-Impl.m \
  NSString/NSString_macOSRoman.m \
  NSString/NSString.m \
  NSString/unibuffer.m \
  NSString/NSString_unicodePtr.m \
  NSString/NSString_nextstep.m \
  NSString/NSMutableString.m \
  NSString/NSStringSymbol.m \
  NSString/NSStringUTF8.m \
  NSString/NSString_win1252.m \
  NSString/NSString_cString.m \
  NSString/NSString_isoLatin1.m \
  NSString/NSUnicodeCaseMapping.m \
  NSString/NSString_nextstepCString.m \
  NSString/NSDarwinString.m \
  NSKeyValueCoding/NSArray+KVC.m \
  NSKeyValueCoding/NSDictionary+KVC.m \
  NSKeyValueCoding/NSString+KVCAdditions.m \
  NSKeyValueCoding/NSKVOInfoPerObject.m \
  NSKeyValueCoding/NSKeyPathObserver.m \
  NSKeyValueCoding/NSKeyValueObserving.m \
  NSKeyValueCoding/NSKeyValueCoding.m \
  NSKeyValueCoding/NSKVCMutableArray.m \
  NSKeyValueCoding/NSKeyObserver.m \
  NSDebug.m \
  NSUndoManager/NSUndoManager.m \
  NSUndoManager/NSUndoGroup.m \
  NSNetService/bonjour.m \
  NSNetService/NSNetServices.m \
  NSData/NSData_mapped.m \
  NSData/NSData.m \
  NSData/NSData_concrete.m \
  NSData/NSMutableData.m \
  NSData/NSMutableData_concrete.m \
  NSPointerFunctions.m \
  NSNotification/NSNotification.m \
  NSNotification/NSNotification_concrete.m \
  NSTimeZone/NSTimeZone.m \
  NSTimeZone/NSTimeZoneType.m \
  NSTimeZone/NSTimeZoneTransition.m \
  NSTimeZone/NSTimeZone_absolute.m \
  NSDate/NSDateFormatter.m \
  NSDate/NSDateComponents.m \
  NSDate/NSCalendarDate.m \
  NSDate/NSCalendar.m \
  NSDate/NSDate_timeInterval.m \
  NSDate/NSDate.m \
  NSObject/NSObject.m \
  NSObject/objc_msg_sendv-Disabled.m \
  NSObject/objc_size_alignment.m \
  NSObject/NSZombieObject.m \
  NSObject/forwarding.m \
  NSObject/objc_forward_ffi.m \
  NSGarbageCollector.m \
  NSError.m \
  NSCoder.m \
  NSProxy.m \
  NSAttributedString/NSMutableAttributedString_concrete.m \
  NSAttributedString/NSRangeEntries.m \
  NSAttributedString/NSAttributedString.m \
  NSAttributedString/NSAttributedString_manyAttributes.m \
  NSAttributedString/NSAttributedString_nilAttributes.m \
  NSAttributedString/NSAttributedString_oneAttribute.m \
  NSAttributedString/NSMutableString_proxyToMutableAttributedString.m \
  NSAttributedString/NSAttributedString_placeholder.m \
  NSAttributedString/NSMutableAttributedString.m \
  NSPointerArray.m \
  xml/NSXMLNode.m \
  xml/NSXMLParser.m \
  xml/NSXMLDTDNode.m \
  xml/NSXMLDTD.m \
  xml/NSXMLDocument.m \
  xml/NSXMLElement.m \
  NSException/debugHelpers.m \
  NSException/NSException.m \
  NSException/NSRaise.m \
  NSAssertionHandler.m \
  NSHashTable.m \
  NSArray/NSEnumerator_array.m \
  NSArray/NSArray_placeholder.m \
  NSArray/NSArray_concrete.m \
  NSArray/NSArray.m \
  NSArray/NSEnumerator_arrayReverse.m \
  NSArray/NSMutableArray_concrete.m \
  NSArray/NSMutableArray.m \
  NSDistributedLock.m \
  NSGeometry.m \
  NSNotificationQueue/NSNotificationQueue.m \
  NSNotificationQueue/NSNotificationAndModes.m \
  NSMetadata/NSMetadataQuery.m \
  NSMetadata/NSMetadataQueryAttributeValueTuple.m \
  NSMetadata/NSMetadataQueryResultGroup.m \
  NSMetadata/NSMetadataItem.m \
  NSURL/NSURL.m \
  NSURL/NSURLCache.m \
  NSURL/NSMutableURLRequest.m \
  NSURL/NSURLCredential.m \
  NSURL/NSURLProtectionSpace.m \
  NSURL/NSURLConnectionState.m \
  NSURL/NSURLHandle.m \
  NSURL/NSURLProtocol.m \
  NSURL/NSURLRequest.m \
  NSURL/NSURLProtocol_http.m \
  NSURL/NSURLAuthenticationChallenge.m \
  NSURL/NSURLConnection.m \
  NSURL/NSURLDownload.m \
  NSURL/NSURLError.m \
  NSURL/NSURLCredentialStorage.m \
  NSURL/NSHTTPURLResponse.m \
  NSURL/NSURLResponse.m \
  NSURL/NSCachedURLResponse.m \
  NSConnection/NSMessagePort.m \
  NSConnection/NSProtocolChecker.m \
  NSConnection/NSConnection.m \
  NSConnection/NSPortMessage.m \
  NSConnection/NSPort.m \
  NSConnection/NSDistantObject.m \
  NSConnection/NSSocketPort.m \
  NSConnection/NSPortCoder.m \
  NSAffineTransform.m \
  NSNotificationCenter/NSNotificationCenter.m \
  NSNotificationCenter/NSNotificationObserver.m \
  NSNotificationCenter/NSObjectToObservers.m \
  NSProcessInfo.m \
  NSUserDefaults/NSPersistantDomain.m \
  NSUserDefaults/NSUserDefaults.m \
  NSFileManager.m \
  NSOperation/NSAtomicList.m \
  NSOperation/NSOperationQueue.m \
  NSOperation/NSOperation.m \
  NSPortNameServer/NSSocketPortNameServer.m \
  NSPortNameServer/NSPortNameServer.m \
  NSPortNameServer/NSMessagePortNameServer.m \
  NSAutoreleasePool/NSAutoreleasePool.m \
  NSPropertyList/CFUID.m \
  NSPropertyList/NSPropertyListReader_binary1.m \
  NSPropertyList/NSPropertyListReader.m \
  NSPropertyList/NSPropertyListWriter_vintage.m \
  NSPropertyList/NSOldXMLAttribute.m \
  NSPropertyList/NSPropertyList.m \
  NSPropertyList/NSPropertyListReader_xml1.m \
  NSPropertyList/NSPropertyListReader_vintage.m \
  NSPropertyList/NSOldXMLReader.m \
  NSPropertyList/NSOldXMLElement.m \
  NSPropertyList/NSPropertyListWriter_xml1.m \
  NSPropertyList/NSOldXMLDocument.m \
  NSClassDescription.m \
  NSIndexPath.m \
  NSLock/NSConditionLock.m \
  NSLock/NSSynchronization.m \
  NSLock/NSLock.m \
  NSLock/NSRecursiveLock.m \
  NSLock/NSCondition.m \
  platform_posix/NSCancelInputSource_posix.m \
  platform_posix/NSConditionLock_posix.m \
  platform_posix/NSCondition_posix.m \
  platform_posix/NSMemoryFunctions_posix.m \
  platform_posix/NSPlatform_posix.m \
  platform_posix/NSTask_posix.m \
  platform_posix/NSSelectSet_bsd.m \
  platform_posix/NSFileHandle_posix.m \
  platform_posix/NSPersistantDomain_posix.m \
  platform_posix/NSConstantString.m \
  platform_posix/NSString_defaultEncoding_posix.m \
  platform_posix/NSSocket_bsd.m \
  platform_posix/NSFileManager_posix.m \
  platform_posix/NSPipe_posix.m \
  platform_posix/NSLock_posix.m \
  platform_posix/NSTimeZone_posix.m \
  platform_posix/NSRunLoopState_posix.m \
  NSBundle.m \
  NSValue/NSValue_placeholder.m \
  NSValue/NSValue_concrete.m \
  NSValue/NSValue_nonRetainedObject.m \
  NSValue/NSValue.m \
  NSValue/NSValue_pointer.m \
  NSByteOrder.m \
  NSSet/NSMutableSet.m \
  NSSet/NSEnumerator_set.m \
  NSSet/NSSet.m \
  NSSet/NSMutableSet_concrete.m \
  NSSet/NSCountedSet.m \
  NSSet/NSSet_placeholder.m \
  NSSet/NSSet_concrete.m \
  NSSet/NSInlineSetTable.m \
  NSDirectoryEnumerator.m \
  NSValueTransformer/NSValueTransformer.m \
  NSValueTransformer/NSValueTransformer_IsNil.m \
  NSValueTransformer/NSValueTransformer_IsNotNil.m \
  NSValueTransformer/NSValueTransformer_UnarchiveFromData.m \
  NSValueTransformer/NSValueTransformer_NegateBoolean.m \
  NSValueTransformer/NSValueTransformer_KeyedUnarchiveFromData.m \
  NSDictionary/NSEnumerator_dictionaryKeys.m \
  NSDictionary/NSEnumerator_dictionaryObjects.m \
  NSDictionary/NSDictionary.m \
  NSDictionary/NSDictionary_mapTable.m \
  NSDictionary/NSMutableDictionary_mapTable.m \
  NSDictionary/NSMutableDictionary.m \
  NSIndexSet/NSMutableIndexSet.m \
  NSIndexSet/NSIndexSet.m \
  NSFormatter.m \
  NSStringsFileFormat/NSStringsFileParser.m \
  NSMethodSignature.m \
  NSTask.m \
  NSSortDescriptor.m \
  NSNumber/NSNumber_char.m \
  NSNumber/NSNumber_short.m \
  NSNumber/NSNumber_int.m \
  NSNumber/NSNumber_float.m \
  NSNumber/NSNumber_BOOL.m \
  NSNumber/NSNumber_double.m \
  NSNumber/NSNumber_long.m \
  NSNumber/NSNumber_unsignedInt.m \
  NSNumber/NSNumber_unsignedChar.m \
  NSNumber/NSNumber_CF.m \
  NSNumber/NSNumber_unsignedLong.m \
  NSNumber/NSNumber_unsignedLongLong.m \
  NSNumber/NSNumber_unsignedShort.m \
  NSNumber/NSNumber.m \
  NSNumber/NSNumber_placeholder.m \
  NSNumber/NSNumber_longLong.m \
  NSPipe.m \
  NSMapTable.m \
  CF/CFCharacterSet.m \
  CF/CFSet.m \
  CF/CFDateFormatter.m \
  CF/CFBundle.m \
  CF/CFMessagePort.m \
  CF/CFStream.m \
  CF/CFNotificationCenter.m \
  CF/CFDictionary.m \
  CF/CFData.m \
  CF/CFPropertyList.m \
  CF/CFMachPort.m \
  CF/CFPreferences.m \
  CF/CFBinaryHeap.m \
  CF/CFBag.m \
  CF/CFLocale.m \
  CF/CFSocket.m \
  CF/CFNumber.m \
  CF/CFUUID.m \
  CF/CFTimeZone.m \
  CF/CFBase.m \
  CF/CFRunLoop.m \
  CF/CFBitVector.m \
  CF/CFXMLParser.m \
  CF/CFURL.m \
  CF/CFXMLNode.m \
  CF/CFArray.m \
  CF/CFNumberFormatter.m \
  CF/CFAttributedString.m \
  CF/CFDate.m \
  CF/CFStringTokenizer.m \
  CF/CFFileDescriptor.m \
  CF/CFError.m \
  CF/CFString.m \
  CF/CFByteOrder.m \
  CF/CFCalendar.m \
  CF/CFPlugIn.m \
  CF/CFTree.m \
  CF/CFUserNotification.m \
  CFNetwork/CFSocketStream.m \
  CFNetwork/CFNetServices.m \
  NSBlocks.m




include $(GNUSTEP_MAKEFILES)/framework.make
